﻿<%@ Page Title="" Language="C#" MasterPageFile="~/clerks/ClerkMaster.Master" AutoEventWireup="true"
    CodeBehind="RequisitionList.aspx.cs" Inherits="LogicUniversity.clerks.RequisitionList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        $(function () {
            //            console.log($('#navigation a').length);
            //            $('#navigation li').removeClass('active');
            //            $('#navigation li:last').addClass('active');

            $('.nav li a').each(function () {
                if ($(this).text() == 'Place Request') {
                    $(this).parent().addClass('active');
                }
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <div class="row-fluid">
        <div class="span6 offset3">
            <form id="form1" runat="server">
            <h5>Current Requisition List</h5><br />
            <asp:Label ID="lblMsg" runat="server"  Font-Bold="true"></asp:Label><br />
            <asp:GridView CssClass="table table-hover" GridLines="None" ID="grdRequisitionList" runat="server" AutoGenerateColumns="false"
                ShowHeaderWhenEmpty="true" OnRowCommand="grdRequisitionList_RowCommand">
                <Columns>
                    <asp:BoundField DataField="Key" HeaderText="Department Name" />
                    <asp:BoundField DataField="Value" HeaderText="Date" />
                    <asp:ButtonField Text="Process" CommandName="Process" Visible="true" />
                </Columns>
            </asp:GridView>
            <br />
            </form>
        </div>
    </div>
</asp:Content>
